package com.qr.pojo;

import java.util.Date;

public class Loan {
    private String sno;

    private String ISBN;

    private Date borrowdate;

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno == null ? null : sno.trim();
    }

    public String getISBN() {
        return ISBN;
    }

    public void setISBN(String ISBN) {
        this.ISBN = ISBN == null ? null : ISBN.trim();
    }

    public Date getBorrowdate() {
        return borrowdate;
    }

    public void setBorrowdate(Date borrowdate) {
        this.borrowdate = borrowdate;
    }

    @Override
    public String toString() {
        return "Loan{" +
                "sno='" + sno + '\'' +
                ", ISBN='" + ISBN + '\'' +
                ", borrowdate=" + borrowdate +
                '}';
    }
}